// 操作日志接口
export interface OperationLog {
  id: number
  action: string
  content: string
  username: string
  geoip: string | null
  create_at: string
}

// 筛选参数接口
export interface FilterParams {
  username?: string
  action?: string
  start_date?: string
  end_date?: string
}

// 分页参数接口
export interface Pagination {
  currentPage: number
  pageSize: number
  total: number
}

// API响应接口
export interface ApiResponse<T = any> {
  code: number
  message: string
  data: T
}

export interface LogListResponse {
  list: OperationLog[]
  total: number
  current_page: number
  page_size: number
}